package objectdemo;

class ArrDemo
{
	public static void a(Object obj)
	{
		if(obj instanceof int[])
		{
			int[]x = (int[])obj;
			for (int i=0;i<x.length;i++)
			{
				System.out.print(x[i]+"\t");
			}
		}
		
	}
}

public class ObjDemo01
{
	public static void main(String args[])
	{
		int [] arr = {1,2,3,4,5,6,7,8,9};
		
		ArrDemo.a(arr);
	}
}
